using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.tuangou.tuangouReceiptGetconsumed
{
    /// <summary>
    /// 附加项目信息列表
    /// </summary>
    public class RadditionItemInfo
    {
        /// <summary>
        /// 服务名
        /// </summary>
        [JsonPropertyName("serviceTitle")]
        public string ServiceTitle { get; set; }

        /// <summary>
        /// 调价规则当前金额(当前金额，单位：元)
        /// </summary>
        [JsonPropertyName("adjustedAmount")]
        public string AdjustedAmount { get; set; }

        /// <summary>
        /// 加项商品ID
        /// </summary>
        [JsonPropertyName("productId")]
        public string ProductId { get; set; }

        /// <summary>
        /// 三方加项商品ID
        /// </summary>
        [JsonPropertyName("addItemThirdPartyId")]
        public string AddItemThirdPartyId { get; set; }

        public override string ToString()
        {
            return $"RadditionItemInfo{{ServiceTitle={ServiceTitle}, AdjustedAmount={AdjustedAmount}, ProductId={ProductId}, AddItemThirdPartyId={AddItemThirdPartyId}}}";
        }
    }
}
